package cn.fzc.elasticsearch2x.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

@Document(indexName = "invoice_detail_2018",type = "invoice_31")
public class InvoiceDetail {

    @Id
    private String id;
    private String goods_name;
    private String goods_tax;
    private String specification;
    private String measure_unit;
    private double total_amount;
    private int invoice_detail_num;
    private String invoice_id;
    private int invoice_property;
    private double notax_amount;
    private int notax_price;
    private String number;
    private String rowKey;
    private String saler_area_code;
    private String tax_num;
    private String saler_name;
    private String buyer_taxnum;
    private String buyer_name;
    private double tax_amount;
    private int tax_price;
    private double tax_rate;
    private String update_time;

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getGoods_tax() {
        return goods_tax;
    }

    public void setGoods_tax(String goods_tax) {
        this.goods_tax = goods_tax;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getInvoice_detail_num() {
        return invoice_detail_num;
    }

    public void setInvoice_detail_num(int invoice_detail_num) {
        this.invoice_detail_num = invoice_detail_num;
    }

    public String getInvoice_id() {
        return invoice_id;
    }

    public void setInvoice_id(String invoice_id) {
        this.invoice_id = invoice_id;
    }

    public int getInvoice_property() {
        return invoice_property;
    }

    public void setInvoice_property(int invoice_property) {
        this.invoice_property = invoice_property;
    }

    public String getMeasure_unit() {
        return measure_unit;
    }

    public void setMeasure_unit(String measure_unit) {
        this.measure_unit = measure_unit;
    }

    public double getNotax_amount() {
        return notax_amount;
    }

    public void setNotax_amount(double notax_amount) {
        this.notax_amount = notax_amount;
    }

    public int getNotax_price() {
        return notax_price;
    }

    public void setNotax_price(int notax_price) {
        this.notax_price = notax_price;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getRowKey() {
        return rowKey;
    }

    public void setRowKey(String rowKey) {
        this.rowKey = rowKey;
    }

    public String getSaler_area_code() {
        return saler_area_code;
    }

    public void setSaler_area_code(String saler_area_code) {
        this.saler_area_code = saler_area_code;
    }

    public String getSaler_name() {
        return saler_name;
    }

    public void setSaler_name(String saler_name) {
        this.saler_name = saler_name;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public double getTax_amount() {
        return tax_amount;
    }

    public void setTax_amount(double tax_amount) {
        this.tax_amount = tax_amount;
    }

    public String getTax_num() {
        return tax_num;
    }

    public void setTax_num(String tax_num) {
        this.tax_num = tax_num;
    }

    public int getTax_price() {
        return tax_price;
    }

    public void setTax_price(int tax_price) {
        this.tax_price = tax_price;
    }

    public double getTax_rate() {
        return tax_rate;
    }

    public void setTax_rate(double tax_rate) {
        this.tax_rate = tax_rate;
    }

    public double getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(double total_amount) {
        this.total_amount = total_amount;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public String getBuyer_taxnum() {
        return buyer_taxnum;
    }

    public void setBuyer_taxnum(String buyer_taxnum) {
        this.buyer_taxnum = buyer_taxnum;
    }

    public String getBuyer_name() {
        return buyer_name;
    }

    public void setBuyer_name(String buyer_name) {
        this.buyer_name = buyer_name;
    }

    @Override
    public String toString() {
        return "InvoiceDetail{" +
                "id='" + id + '\'' +
                ", goods_name='" + goods_name + '\'' +
                ", goods_tax='" + goods_tax + '\'' +
                ", specification='" + specification + '\'' +
                ", measure_unit='" + measure_unit + '\'' +
                ", total_amount=" + total_amount +
                ", invoice_detail_num=" + invoice_detail_num +
                ", invoice_id='" + invoice_id + '\'' +
                ", invoice_property=" + invoice_property +
                ", notax_amount=" + notax_amount +
                ", notax_price=" + notax_price +
                ", number='" + number + '\'' +
                ", rowKey='" + rowKey + '\'' +
                ", saler_area_code='" + saler_area_code + '\'' +
                ", tax_num='" + tax_num + '\'' +
                ", saler_name='" + saler_name + '\'' +
                ", buyer_taxnum='" + buyer_taxnum + '\'' +
                ", buyer_name='" + buyer_name + '\'' +
                ", tax_amount=" + tax_amount +
                ", tax_price=" + tax_price +
                ", tax_rate=" + tax_rate +
                ", update_time='" + update_time + '\'' +
                '}';
    }
}
